﻿namespace WCrawlerLib
{
    public class BrowserSession_phpBB2 : BrowserSession_phpBB
    {
        
        // Search topics of a forum: 


        public BrowserSession_phpBB2()
        {
            ForumTypeId = enumForumType.phpBB2;
        }

        ///// <summary>
        ///// Init params of POST  to login a forum.
        ///// </summary>
        //public override string InitLoginParams(string postParams, params string[] pars)//(string username, string password)
        //{
        //    //Method 1
        //    _postParams = "username=" + pars[0]
        //            + "&password=" + pars[1]
        //            + "&autologin=" + "on"
        //            + "&redirect=" + ""
        //            + "&login=" + "Log in";
        //    //set post paramaters
        //    return _postParams;

            
        //}

        //public override Dictionary<string, string> GetLinksInTables(HtmlAgilityPack.HtmlDocument doc, string blackListPattern)
        //{
        //    Dictionary<string, string> links = new Dictionary<string, string>();
        //    //Get all links in a forum
        //    links = GetAllLinks(doc, blackListPattern);
        //    return links;
        //}
    }
}